package 用两个栈实现队列;

public class Main {
    public static void main(String[] args) {
        CQueueV1 cQueueV1 = new CQueueV1();
        cQueueV1.appendTail(1);
        cQueueV1.appendTail(2);
        cQueueV1.appendTail(3);
        cQueueV1.printSnapshot();
        System.out.println(cQueueV1.deleteHead());
        cQueueV1.printSnapshot();
        System.out.println(cQueueV1.deleteHead());
        cQueueV1.printSnapshot();
    }
}
